package com.zaofan.bean;

import com.zaofan.annotation.AutoIncrement;

/**
 * 会员
 * 
 */
public class Admin {
	@AutoIncrement
	private int id;
	private String name;
	private String shopName;
	private String password;
	private int type;
	private int shopId;
	private String power;
	private Integer cityId;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getShopId() {
		return shopId;
	}

	public void setShopId(int shopId) {
		this.shopId = shopId;
	}

	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}

	public String getPower() {
		return power;
	}

	public void setPower(String power) {
		this.power = power;
	}

	public Integer getCityId() {
		return cityId;
	}

	public void setCityId(Integer cityId) {
		this.cityId = cityId;
	}

	@Override
	public String toString() {
		return  "Admin{id=" + id + ";" + 
				"name=" + name + ";" +
				"password=" + password + ";" +
				"type=" + type + ";" +
				"shopId=" + shopId + ";" +
				"power=" + power + ";" +
				"cityId=" + cityId + ";" +
				"shopName=" + shopName + "}"
				;
	}

}
